package com.gqh.weather.exception;

import lombok.Getter;

@Getter
public enum ResultEnum {
    NO_TOKEN(401, "token 验证失败"),
    MOBILE_EXISTS(1000, "手机号已存在");

    private final Integer code;

    private final String msg;

    ResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
